package org.fengling.readingplatform.pay.strategy;

import org.fengling.readingplatform.pay.factory.PaymentFactory;
import org.fengling.readingplatform.pay.template.AbstractPaymentHandler;
import org.springframework.stereotype.Component;



@Component
public class WxpayHandler extends AbstractPaymentHandler {

    // 微信下单
    @Override
    public String wxpayMethod(String orderNo){
       return null;
    }

    @Override
    public String getPayment(String orderNo) {
        return wxpayMethod(orderNo);
    }

    @Override
    public String invokeCommon() {
        return null;
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        PaymentFactory.register("Wxpay", this);
    }

}
